package com.lzq.principle.dimit;

/**
 * @author modify
 * @date 2022/11/6
 */
public class Test {
    public static void main(String[] args) {
        Agent agent = new Agent();

        Star star = new Star("star A");
        agent.setStar(star);

        Fans fans = new Fans("fans B");
        agent.setFans(fans);

        Company company = new Company("company C");
        agent.setCompany(company);

        agent.meeting();
        agent.business();
    }
}
